package com.cy.pj.common.exception;

public class ServiceException extends RuntimeException {
    public ServiceException() {
    }

    public ServiceException(String message) {
        super(message);
    }


    public ServiceException(Throwable cause) {
        super(cause);
    }







    /**（错误写法）
     *  @ExceptionHandler(ArithemeticService.class)
     *     public String doArithemeticException(Exception e){
     *
     *         return "the Exception msg is"+e.getLocalizedMessage();
     *     }
     */


}
